package com.roc.dao.profit;

import java.util.List;

import com.roc.dao.DaoException;
import com.roc.pojo.Operators;
import com.roc.pojo.ProfitRule;

public interface IProfitDao {
	List getOpertorsIdsTreeById(Long id) throws DaoException;

	List getDirectlyAgentIdsTreeByRealId(Long id) throws DaoException;
	List getDirectlyAgentIdsBySuperId(Long id) throws DaoException;
	//查询代理商分润规则
	List<ProfitRule> queryProfitRule(String id) throws DaoException;
	Operators getOpertorsByAccountNo(String  accountNo) throws DaoException;
	Object loadById(long id, Class c) throws DaoException;
	//受理市场人员
	List getSLOpIdsTreeBySuperId( Operators op) throws DaoException;

	Operators getDlpOpertorsByAccountNo(String  accountNo) throws DaoException;

	List getYsbOpertorsIdsTreeById(Long id,String roleType) throws DaoException;

	List getYsbDirectlyAgentIdsBySuperId(Long id) throws DaoException;


}
